GtkInspector: Fix Build on Windows
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 16 May 2014 10:02:00 +0000 (18:02 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 16 May 2014 15:50:20 +0000 (23:50 +0800)
commit7ea0e2756af1e6794aa5d916ed94a33eaa46c857
tree46ef18cad2b7ad9f5787c00758b00a68ccd1e679
parent146adf077ea423b844f39ec71018b5cc8936599c
GtkInspector: Fix Build on Windows

Update visual.c to use Windows themes rather than the stock Raleigh theme,
and avoid hardcoding data paths for Windows (and Mac).  As the dlfcn.h
functions are only used when Python is enabled, move its inclusion there[*].

Also ensure that variables are declared on the top of the block.

[*] Python support Windows needs to be investigated, as POSIX signal
    handling is used there.

https://bugzilla.gnome.org/show_bug.cgi?id=730236
gtk/inspector/classes-list.c
gtk/inspector/python-hooks.c
gtk/inspector/visual.c